/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package emissorudp;

import java.io.IOException;
import java.net.DatagramPacket;
import java.net.SocketException;
import java.net.UnknownHostException;


public class EmissorUDP
{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws SocketException, UnknownHostException, IOException
    {
        System.out.println("Iniciando mandar pacote");
        Emissor e = new Emissor();

        String msg = "Thiaguera viadinho";

        e.config("127.0.0.1", 7000);
        //e.emitirPDestino(msg.getBytes());
        
        
    }
}
